//
//  LoginInitViewController.swift
//  beegin2
//
//  Created by zsy on 16/3/22.
//  Copyright © 2016年 kszz. All rights reserved.
//

import UIKit

class LoginInitViewController: UIViewController {

    @IBOutlet weak var ScrollBackView: UIView!
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.

    }
    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        
        let esView = EScrollerView(frameRect: CGRect(x: 0, y: 0, width: ScrollBackView.frame.width, height: ScrollBackView.frame.height), imageArray: ["initImage1","initImage1","initImage1"], titleArray: [])
        
        ScrollBackView.addSubview(esView)
        ScrollBackView.layoutIfNeeded()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
